hacer caja registradora en algoritmos